/**
 * 
 */
package com.ims.stocks.bo;

import com.ims.common.utils.propertyManager;
import com.ims.stocks.model.UserDetails;

/**
 * @author Achal B.I
 *
 */
public class UserBO extends UserDetails {
	/**
	 * 
	 */
	private static final long serialVersionUID = -5143642898727018812L;
	private UserDetails user;
	private String statusStr;
	private final String STATUS = "common.user.status";
	
	
	public UserBO(UserDetails user, String statusStr) {
		super();
		this.user = user;
		this.statusStr = propertyManager.getInstance().getValueFromProp(STATUS,statusStr );
	}
	/**
	 * @return the user
	 */
	public UserDetails getUser() {
		return user;
	}
	/**
	 * @param user the user to set
	 */
	public void setUser(UserDetails user) {
		this.user = user;
	}
	/**
	 * @return the statusStr
	 */
	public String getStatusStr() {
		return statusStr;
	}
	/**
	 * @param statusStr the statusStr to set
	 */
	public void setStatusStr(String statusStr) {
		//statusStr = propertyManager.getInstance().getValueFromProp(STATUS,statusStr );
		this.statusStr = statusStr;
	}

	
}
